package springboot.file.demo.data;

import springboot.file.demo.pojo.Member;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @Author: jxm
 * @Description:
 * @Date: 2022/10/21 16:35
 * @Version: 1.0
 */
public class MemberData {

    public static List<Member> getList(){

        Member member = new Member();
        member.setBirthday(new Date());
        member.setGender(1);
        member.setId(1L);
        member.setNickname("admin");
        member.setUsername("Admin");
        member.setPassword("123");
        member.setPhone("12111111111");

        Member member1 = new Member();
        member1.setBirthday(new Date());
        member1.setId(2L);
        member1.setNickname("admin1");
        member1.setUsername("Admin1");
        member1.setPassword("123");
        member1.setPhone("12111111112");

        Member member2 = new Member();
        member2.setBirthday(new Date());
        member2.setId(2L);
        member2.setUsername("Admin1");
        member2.setPhone("12111111113");

        List<Member> list = new ArrayList<>();
        list.add(member);
        list.add(member1);
        return list;
    }
}
